<?php
App::Import('model', 'Item');
$item = new Item();
$item->recursive = -1;
?>
<ul class="nav" > 
    <?php foreach ($listado as $menu): ?>
        <li><span id="<?php echo 'men_' . $menu['Menu']['id'] ?>"><a class="link" href="javascript:void(0);" ><?php echo $menu['Menu']['nombre'] ?> </a></span>
            <ul >
                <?php
                $items = $item->find('all', array('conditions' => array('Item.menu_id' => $menu['Menu']['id']), 'fields' => array('Item.nombre', 'Item.controlador', 'Item.accion', 'Item.order'), 'order' => array('Item.order ASC')));
                ?>
                <?php foreach ($items as $item1): ?>
                    <li class="menu_link" ><?php echo $ajax->link($item1['Item']['nombre'], array('controller' => $item1['Item']['controlador'], 'action' => $item1['Item']['accion']), array('update' => 'content', 'complete' => 'cargar()', 'indicator' => 'loading')) ?></li>
                <?php endforeach; ?>
            </ul>
        </li>
    <?php endforeach; ?>
</ul>